﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.IotDevice.Entity
{
    /// <summary>
    /// 基础信息
    /// </summary>
    public class BasicIotDeviceEntity
    {
        /// <summary>
        /// 数据唯一标识
        /// </summary>
        [Key]
        [Display(Name = "数据唯一标识"), MaxLength(50)]
        public string Id { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        [Display(Name = "创建日期")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建用户主键
        /// </summary>
        [Display(Name = "创建用户主键"), MaxLength(50)]
        public string CreateUserId { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        [Display(Name = "创建用户"), MaxLength(50)]
        public string CreateUserName { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        [Display(Name = "修改日期")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改用户主键
        /// </summary>
        [Display(Name = "修改用户主键"), MaxLength(50)]
        public string ModifyUserId { get; set; }

        /// <summary>
        /// 修改用户
        /// </summary>
        [Display(Name = "修改用户"), MaxLength(50)]
        public string ModifyUserName { get; set; }

        /// <summary>
        /// 登记企业
        /// </summary>
        [Display(Name = "登记企业"), MaxLength(50)]
        public string EnterpriseId { get; set; }

        /// <summary>
        /// 登记企业
        /// </summary>
        [Display(Name = "登记企业"), MaxLength(100)]
        public string EnterpriseName { get; set; }
    }
}
